<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="PHP,yii,ecshop,电商,二次开发" />
<meta name="description" content="ecshop上海电商二次开发" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/blog/css/style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/blog/css/public.css" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<body>

<div id="wrapper">
	<div id="float_header" style="left:0px; top: 0px; position: fixed; z-index:999;">
    	<div id="header">
			<!-- start #menu -->
    		<div id="mainmenu">
    			<ul>
					<?php $this->widget('zii.widgets.CMenu',array(
						'items'=>array(
							array('label'=>'首页', 'url'=>'/'),
							array('label'=>'日志', 'url'=>array('/post/')),
							array('label'=>'标签', 'url'=>array('/tag/')),
						),
					)); ?>
				</ul>
			</div>
    		<!-- end #menu -->
    		<div id="search">
    			<form method="get" action="<?php echo Yii::app()->request->baseUrl.'/';//Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/search');?>">
    				<fieldset>
    				<input type="text" name="s" id="search-text" size="15" />
    				<input type="submit" id="search-submit" value="Search" />
    				</fieldset>
    			</form>
    		</div>
    		<!-- end #search -->
    	</div>
	<!-- end #header -->
	</div>
	<!-- end #logo -->

<!-- end #header-wrapper -->

<div id="page">
	<?php echo $content; ?>
	<div style="clear: both;">&nbsp;</div>
</div>

<div id="bottom-bg"></div>
<div id="footer">
	<p>
	    <span><a target="_blank" title="镇宅玄猫" href="http://douban.com/people/chinaloser">我在豆瓣，欢迎来玩</a></span>
	</p>
	<p>
		<a target="_blank" href="http://www.miibeian.gov.cn/">沪ICP备10058128号</a><br>
	    镇宅玄猫版权所有，剽窃必将追究法律责任，喵~<br>
		Powered by <?php echo Yii::app()->params['poweredby']?>
		<br>
	</p>

</div>
<!-- end #footer -->
</div>

<script type="text/javascript" src="/js/swfobject.js"></script>
<script type="text/javascript" src="/js/tagcloud.js"></script>
</body>
</html>